package jwt

import (
	"github.com/gin-gonic/gin"
	"github.com/golang-jwt/jwt/v5"
	"go-admin/server/internal/domain"
)

type Handler interface {
	SetJwtTokenForAdmin(ctx *gin.Context, user domain.Admin) (string, error)
	ClearToken(ctx *gin.Context, adminId int64) error
}
type UserClaims struct {
	jwt.RegisteredClaims
	Iden string
}
